home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15959 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  748 b 

  1. Path: newsbf02.news.aol.com!not-for-mail
  2. From: jjones2168@aol.com (JJones2168)
  3. Newsgroups: comp.lang.c++
  4. Subject: ----------Need help with Procedure!!!----------
  5. Date: 8 Apr 1996 20:58:47 -0400
  6. Organization: America Online, Inc. (1-800-827-6364)
  7. Sender: root@newsbf02.news.aol.com
  8. Message-ID: <4kcco7$a5h@newsbf02.news.aol.com>
  9. Reply-To: jjones2168@aol.com (JJones2168)
  10. NNTP-Posting-Host: newsbf02.mail.aol.com
  11.  
  12. Given a structure such as this:
  13.  
  14.      1
  15.    /    \
  16.   2-----3
  17.    \   /
  18.      4
  19.  
  20. How can I find all possible paths from one point to another?
  21. (I tried using an "adjacency matrix", but I need to be able to support up
  22. to 200 points, which would require three 200x200 matrices of strings (a
  23. lot of mem.)
  24.  
  25. Please reply to JFormby@ix.netcom.com
  26.